package modelo.transfer;



public class Usuario {

	private int id;
	private boolean admin;
	private String nombre, password;
	
	public Usuario(int id, boolean admin, String nombre, String password) {
		super();
		this.id = id;
		this.admin = admin;
		this.nombre = nombre;
		this.password = password;
	}	
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	public boolean isAdmin() {
		return admin;
	}
	public void setAdmin(boolean admin) {
		this.admin = admin;
	}
	public String getNombre() {
		return nombre;
	}
	public void setNombre(String nombre) {
		this.nombre = nombre;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	@Override
	public String toString() {
		return "id:"+id+",nombre:"+nombre+",password:"+password+",esAdmin:"+admin+"\n";
	}
	
	
}
